package main

import "fmt"

func rot13(s string) string {
	return ""
}

var _ func(string) string = rot13

func main() {
	for _, t := range []struct {
		in, want string
	}{
		{"Hello, world!", "Uryyb, jbeyq!"},
		{"N wryyl qbahg", "A jelly donut"},
		{"Tbcure Fhecevfr!", "Gopher Surprise!"},
		{"ez -es /ubzr", "rm -rf /home"},
		{"AbCdEfGnOpQrSt", "NoPqRsTaBcDeFg"},
	} {
		if g := rot13(t.in); g != t.want {
			fmt.Printf("rot13(%q) = %q, want %q\n", t.in, g, t.want)
			fmt.Println("FAIL")
			return
		}
	}
	fmt.Println("PASS")
}

/*
func rot13(s string) string {
	b := []byte(s)
	for i, c := range b {
		switch {
		case 'A' <= c && c <= 'Z':
			b[i] = (c-'A'+13)%26 + 'A'
		case 'a' <= c && c <= 'z':
			b[i] = (c-'a'+13)%26 + 'a'
		}
	}
	return string(b)
}
*/
